package com.youlu.campus.entity.english.vo.request;

import com.youlu.campus.entity.ActivityAnswerInfo;
import com.youlu.campus.entity.ActivityQuestionInfo;
import com.youlu.campus.entity.UserPO;
import com.youlu.campus.entity.VO.req.ActivityQaInfoVO;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;

@Data
public class DoQaCommand {

    @NotBlank(message = "题库Id不能为空")
    private String qaInfoId;

    @NotBlank(message = "题库编码code不能为空")
    private String qaCode;
    @NotBlank(message = "组别ID不能为空")
    private String activityGroupId;

     private String feeTypeCode;
    @NotNull(message = "用户提交答案不能为空")
     private List<ActivityQuestionInfo> userAnswersQuestionInfoList;

    /**
     * qa: 表示正式答题
     * practice :习题练习
     */
    @NotBlank(message = "答题类型不能为空")
    private String qaType;

    private UserPO currentUser;

}
